package us.codecraft.tinyioc.aop;

import org.aopalliance.intercept.MethodInterceptor;

/**
 * 代理相关的元数据,此部分不熟悉
 *
 * @author yihua.huang@dianping.com
 */
public class AdvisedSupport {

    /**
     * 代理的类
     */
    private TargetSource targetSource;

    /**
     * 拦截器
     */
    private MethodInterceptor methodInterceptor;


    // region get和set

    public TargetSource getTargetSource() {
        return targetSource;
    }

    public void setTargetSource(TargetSource targetSource) {
        this.targetSource = targetSource;
    }

    public MethodInterceptor getMethodInterceptor() {
        return methodInterceptor;
    }

    public void setMethodInterceptor(MethodInterceptor methodInterceptor) {
        this.methodInterceptor = methodInterceptor;
    }
    // endregion
}
